import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import BackToHomeButton from './components/common/BackToHomeButton.vue';

// 创建 Vue 3 应用实例
const app = createApp(App);


// 全局注册按钮组件
app.component('BackToHomeButton', BackToHomeButton);

// 使用路由
app.use(router);

// 挂载到 DOM
app.mount('#app');
